package com.woniu.woniuticket.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.woniuticket.entity.Movie;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lucas
 * @since 2020-02-18
 */
public interface MovieMapper extends BaseMapper<Movie> {


    List<Movie> findAll();

    List<Movie> findInfoById(@Param("id") Integer movieId);


       List<Movie> findtime(@Param("id") Integer movieId);
//    List<Movie> findtime();

    List<Movie> findalltime(@Param("id") Integer movieId);
}
